﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Xna.Framework;
using kb_24_the_game;

namespace UnitTests
{
    [TestClass]
    public class UnitTest1
    {
        
        GameTime time;
        Game1 game;
        
        [TestInitialize]
        public void Setup()
        {
            game = new Game1();
            
            
            time = new GameTime();
        }

        [TestMethod]
        public void OpTrapTest()
        {
            game.level1.speler.playerPosition = new Vector2(160, 400);
            game.level1.Update(time);

            Assert.AreEqual(new Vector2(160, 401), game.level1.speler.playerPosition);
        }
    }
}
